Skip to content

fix: land_acquisition auto-populate on PO/PI creation and resolve Plot Master submission error#21

Merged
av-dev2 merged 1 commit intoAakvatech-Limited:developfrom
LISACORNEL:latest-fix
Apr 20, 2026
Merged

fix: land_acquisition auto-populate on PO/PI creation and resolve Plot Master submission error#21
av-dev2 merged 1 commit intoAakvatech-Limited:developfrom
LISACORNEL:latest-fix

Conversation

@LISACORNEL
Copy link
Copy Markdown
Collaborator

Summary
Fixed a bug where land_acquisition was not auto-populating on item rows when creating a Purchase Order or Purchase Invoice from the Land Acquisition form. Root cause: frappe.route_options cannot set child-table fields. Fix uses frappe.flags to pass the value across navigation and new doctype_js-hooked scripts to read it and stamp each item row.
Fixed Land Purchase and Land Survey items missing their expense_account — both now point to 1411 - Land Under Development - Company so PI costs are correctly capitalized.
Fixed Plot Master submission error "Difference Account must not be a Stock type account" by changing account_type on 1411 - Land Under Development - GVA from Stock to Fixed Asset.

… invoices; enhance landms settings with new fields
@av-dev2 av-dev2 changed the title Title: Fix land_acquisition auto-populate on PO/PI creation and resolve Plot Master submission error fix: land_acquisition auto-populate on PO/PI creation and resolve Plot Master submission error Apr 20, 2026
@av-dev2 av-dev2 merged commit 72eda2c into Aakvatech-Limited:develop Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants